import { IParam } from '../../common';
import { ITreeAbility } from '../ability';
import { TreeActionType } from '../event';
import { ITreeModel } from '../model';
import { IMDCtrlControllerParams } from './i-md-ctrl-controller-params';

/**
 * 树部件控制器输入参数
 *
 * @export
 * @interface ITreeControllerParams
 * @extends {IMDExCtrlControllerParams<TreeActionType, ITreeAbility>}
 */
export interface ITreeControllerParams<T, A extends ITreeAbility>
	extends IMDCtrlControllerParams<T | TreeActionType, A> {
	/**
	 * 树部件模型
	 *
	 * @type {IGridModel}
	 * @memberof IGridControllerParams
	 */
	model: ITreeModel;

	/**
	 * 选中数据
	 *
	 * @type {*}
	 * @memberof ITreeControllerParams
	 */
	selections: IParam[];
}
